<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    <link rel="stylesheet" href="/resources/css/shop/productmanage.css">
    <title>商品编辑</title>
</head>
<body>
<header class="bar bar-nav">
    <h1 class='title'>商品编辑</h1>
</header>
<div class="content">
    <div class="list-block">
        <ul>
            <!--商品名称-->
            <li>
                <div class="item-content">
                    <div class="item-media"><i class="icon icon-form-name"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">商品名称</div>
                        <div class="item-input">
                            <input type="text" id="product_name" placeholder="商品名称">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品目录-->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">目录</div>
                        <div class="item-input">
                            <select id="category">
                            </select>
                        </div>
                    </div>
                </div>
            </li>
            <!--商品优先级-->
            <li>
            <div class="item-content">
                <div class="item-media">
                    <i class="icon icon-form-email"></i></div>
                <div class="item-inner">
                    <div class="item-title label">优先级</div>
                    <div class="item-input">
                        <input type="number" id="priority" placeholder="数字越大越在前">
                    </div>
                </div>
            </div>
        </li>
            <!--积分-->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">积分</div>
                        <div class="item-input">
                            <input type="number" id="point" placeholder="商品积分">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品原价-->
            <li>
                <div class="item-content">
                    <div class="item-media"
                    ><i class="icon icon-form-email"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">原价</div>
                        <div class="item-input">
                            <input type="number" id="normal_price" placeholder="可选">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品现价-->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">现价</div>
                        <div class="item-input">
                            <input type="number" id="promotion_price" placeholder="可选">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品缩略图-->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">商品图片</div>
                        <div class="item-input">
                            <input type="file" id="small_img">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品详情图-->
            <li class="align-top">
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i></div>
                    <div class="item-inner detail_img-div">
                        <div class="item-title label">详情图片</div>
                        <div class="item-input" id="detail_img">
                            <input type="file" class="detail_img">
                        </div>
                    </div>
                </div>
            </li>
            <!--商品描述-->
            <li class="align-top">
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">商品描述</div>
                        <div class="item-input">
                            <textarea id="product_desc" placeholder="商品描述"></textarea>
                        </div>
                    </div>
                </div>
            </li>
            <!--验证码 Kaptcha-->
            <li>
                <div class="item-content">
                    <div class="item-media"><i class="icon icon-form-name"></i></div>
                    <div class="item-inner">
                        <div class="item-title label">验证码</div>
                        <input type="text" id="shop_captcha" placeholder="验证码">
                        <div class="item-input">
                            <img id="captcha_img" alt="点击更换" title="点击更换" onclick="changeVerifyCode(this)"
                                 src="../Kaptcha">
                        </div>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="content-block">
        <div class="row">
            <div class="col-50"><a href="/shopAdmin/productmanage" class="button button-big button-fill button-danger">返回商品管理</a>
            </div>
            <div class="col-50"><a href="#" class="button button-big button-fill button-success" id="submit">提交</a>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/resources/js/common/common.js' charset='utf-8'></script>
<script type='text/javascript' src='/resources/js/shop/productedit.js' charset='utf-8'></script>
</body>
</html>